using System;
using System.Collections;
using System.Collections.Generic;
using System.Net;
using UnityEngine;
using UnityEngine.UI;
using UnityEngine.SceneManagement;

public class NickUI : MonoBehaviour
{
    public InputField ID;
    // Start is called before the first frame update
    void Start()
    {
        
    }

    // Update is called once per frame
    public void SetNickName() {        
        Game.Instance.Logic.Data.MyID = ID.text;
        SceneManager.LoadScene(2);
    }
}
